package com.swcn.u_pet;


import java.text.SimpleDateFormat;
import java.util.Date;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Measurement extends Activity{
	private static final String STEP = "steps";
	private static final String KCAL = "kcal";
	private static final String KM = "km";
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		setContentView(R.layout.sub);
		
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd '\' hh:mm:ss a ");
		Date date = new Date();
		
		//Bundle extras = getIntent().getExtras();
		//if(extras == null){
		TextView subtext = (TextView)findViewById(R.id.whattime);
		subtext.setText(sdf.format(date));
		//}
	}
}	


